package com.mega32k.mevila.block;

import net.minecraft.block.AbstractBlock;
import net.minecraft.block.OreBlock;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.client.resources.I18n;
import net.minecraft.util.text.IFormattableTextComponent;
import net.minecraft.util.text.StringTextComponent;
import net.minecraftforge.common.ToolType;

public class MevilaDustOreBlock extends OreBlock {
    public MevilaDustOreBlock() {
        super(AbstractBlock.Properties.create(Material.ROCK)
                .harvestLevel(5)
                .sound(SoundType.STONE)
                .harvestTool(ToolType.PICKAXE)
                .hardnessAndResistance(3.0F, 3.0F)
        );
    }

    @Override
    public IFormattableTextComponent getTranslatedName() {
        return new StringTextComponent(I18n.format("block.mevila.mevilaDustOre"));
    }
}
